Class AccountTransaction

java.lang.Object
  extended by CustomerInfo
      extended by Account
          extended by AccountTransaction

public class AccountTransaction
extends Account


Field Summary
 
Fields inherited from class CustomerInfo
maxAccountNumber
 
Constructor Summary
AccountTransaction()
           
 
Method Summary
 void depositCash(CustomerInfo cust, java.lang.Integer depositAmount)
           
 java.lang.Integer displayBalance(CustomerInfo c)
           
 void saveTransactionToFile(java.lang.String type, CustomerInfo c, java.lang.String todaysDate, java.lang.Integer Amount)
           
 void transferCash(CustomerInfo sendingCustomer, CustomerInfo receivingCustomer, java.lang.Integer transferAmount)
           
 void withdrawCash(CustomerInfo cust, java.lang.Integer withdrawAmount)
           
 
Methods inherited from class Account
addCustomer, checkAccountNumber, checkLoginPinCode, customerRecord, deleteCustomer, loadCustomerFromFile, saveCustomerToFile, searchCustomer, updateCustomer
 
Methods inherited from class CustomerInfo
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountTransaction

public AccountTransaction()
Method Detail

saveTransactionToFile

public void saveTransactionToFile(java.lang.String type,
                                  CustomerInfo c,
                                  java.lang.String todaysDate,
                                  java.lang.Integer Amount)

withdrawCash

public void withdrawCash(CustomerInfo cust,
                         java.lang.Integer withdrawAmount)

depositCash

public void depositCash(CustomerInfo cust,
                        java.lang.Integer depositAmount)

transferCash

public void transferCash(CustomerInfo sendingCustomer,
                         CustomerInfo receivingCustomer,
                         java.lang.Integer transferAmount)

displayBalance

public java.lang.Integer displayBalance(CustomerInfo c)